package com.ml.mall.bean.res.coupon;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 *   @description    :description
 *   @author         :zxm
 *   @date           :2021/5/21
 *   @version        :1.0
**/
@Data
@ApiModel(value = "优惠券查询响应Model")
public class CouponQueryRes {

    private Long id;

    private String couponCode;

    private String couponName;

    @ApiModelProperty(value = "优惠券数量")
    private Integer amount;

    @ApiModelProperty(value = "优惠券使用数量")
    private Integer useAmount;

    @ApiModelProperty(value = "优惠券类型")
    private Integer couponType;

    @ApiModelProperty(value = "卖家名称")
    private String supplierName;

    @ApiModelProperty(value = "优惠券金额")
    private BigDecimal couponMoney;

    @ApiModelProperty(value = "优惠券最低限制")
    private BigDecimal lowLimitMoney;

    @ApiModelProperty(value = "优惠券最高限制")
    private BigDecimal topLimitMoney;

    @ApiModelProperty(value = "优惠券开始时间")
    private Date timeBegin;

    @ApiModelProperty(value = "优惠券结束时间")
    private Date timeEnd;

    @ApiModelProperty(value = "优惠券优惠描述")
    private String description;

    @ApiModelProperty(value = "状态")
    private Integer state;

    @ApiModelProperty(value = "0:固定值 1：百分比")
    private Integer couponClass;

    @ApiModelProperty(value = "费率")
    private BigDecimal couponRate;

    @ApiModelProperty(value = "承担者：0：系统承担；1：商家承担")
    private Integer bearer;

    @ApiModelProperty(value = "供应商邀请码(识别码)")
    private String supplierCode;

    @ApiModelProperty(value = "是否互斥 0否 1是")
    private Integer mutualType;
}
